<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import Joomla controller library
jimport('joomla.application.component.controller');
/**
 * General Controller of HelloWorld component
 */
class AjaxWhoisController extends JController {
	/**
	 * @var		string	The default view.
	 * @since	1.6
	 */
	protected $default_view = 'ajaxwhois';
	/**
	 * display task
	 *
	 * @return void
	 */
	function display() 
	{
		require_once JPATH_COMPONENT.'/helpers/ajaxwhois.php';
		// call parent behavior
		parent::display();
		// Load the submenu.
		AjaxWhoisHelper::addSubmenu(JRequest::getWord('view', 'ajaxwhois'));
	}
}
